<% row = cycle("even", "odd") %>
<tr class="<%= row %>">
  <td><%= shipping_method.presentation %></td>
  <td><%= number_to_currency(shipping_method.price) %></td>
  <td><%= shipping_method.is_hidden? ? "Ne" : "Ano" %></td>
  <td>
    <% permitted_to? :edit, :admin_shipping_methods do %>
      <%= button_to_edit 'Editovat metodu doručení', edit_admin_shipping_method_path(shipping_method.id), "new_variant" if permitted_to? :edit, :admin_shipping_methods %>
    <% end %>
  </td>
</tr>